package cn.com.onlinetool.jt809.mapper;

import cn.com.onlinetool.jt809.pojo.SysJt809UserConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author : dlm
 * @date : 2022/2/22 0022 18:57
 */
@Mapper
public interface SysJt809UserConfigMapper {
    /**
     * 根据用户id查询配置
     * @param userId
     * @return
     */
    SysJt809UserConfig getConfigByUserId(@Param("userId") Integer userId);

    /**
     * 查询所有的用户配置
     */
    List<SysJt809UserConfig> getAllList();
}
